package org.nightrunner.d3.service;

import java.io.Serializable;
import java.util.List;

import org.nightrunner.d3.entity.CTE;
import org.nightrunner.d3.entity.Category;
import org.nightrunner.d3.entity.Equipment;
import org.nightrunner.d3.model.IPaginationInfo;
import org.nightrunner.d3.model.PaginationModel;

/**
 * Equipment Service interface
 * 
 * @author NightRunner
 * @date 2012-7-26
 * @version 1.0
 */
public interface ICTEService {

	PaginationModel<List<CTE>> getCTE();

	PaginationModel<List<CTE>> getCTE(IPaginationInfo pagination);

	void deleteCTE(CTE cte);

	CTE getCTE(String cteId);

	Serializable addCTE(CTE cte);

	List<CTE> getAllCTE();

	void updateCTE(CTE cte);

	public List<Category> getCategorys(Equipment equipment);

	public List<Equipment> getEquipments(Category category);
}